package service;

import java.util.List;

import beans.Agent;
import beans.Package;


public interface ParcelServiceInterface {

    /**
     * 
     * 获取分页集合
     * @author Devil Zheng
     * @created 2015-9-5 下午2:27:09
     * @param agent
     * @param rows
     * @param page
     * @return
     */
    List<Package> getParcels(Agent agent,int rows,int page);
    
    /**
     * 
     * 获取总数
     * @author Devil Zheng
     * @created 2015-9-5 下午2:27:21
     * @param agent
     * @return
     */
    int getParcelNumber(Agent agent);
    
}